package com.avicit.zipkinkafkaesserver.enums;

/**
 * es index 前缀
 */
public enum ESIndexsEnum {

    //接口调用统计index 前缀
    ZipkinInterfaceCountPrefix("zipkin_interface_count"),
    //接口平均耗时 index 前缀
    ZipkinInterfaceAverageDuration("zipkin_interface_average_duration"),
    //接口 耗时列表 index 前缀
    ZipkinInterfaceDuration("zipkin_interface_duration"),
    ;

    private String indexPrefix;
    ESIndexsEnum(String prefix) {
        this.indexPrefix = prefix;
    }

    public String getIndexPrefix() {
        return indexPrefix;
    }
}
